package schoolWork.work03.text1;

public class Text {
    public static void main(String[] args) {
        Student stu = new Student("zhansan","nan",2005,"jisuanji");
        stu.toString();

        Teacher tea = new Teacher();
        tea.setName("lisi");
        tea.setSex("nv");
        tea.setBirthyear(2000);
        tea.setSalary(10000);
        tea.toString();
    }
}
